var express = require('express');
var router = express.Router();
var { enroll }=require('../serve/enroll.js')
router.post('/', function (req, res, next) {
    enroll(req.body).then(data => {
        res.json(data)
    })
    
});

module.exports = router;